﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Model3DGroup x:Key="mesh_cube">
    <Model3DGroup>
      <GeometryModel3D >
        <GeometryModel3D.Material>
          <MaterialGroup>
            <DiffuseMaterial>
              <DiffuseMaterial.Brush>
                <SolidColorBrush Color="#eaeaea" Opacity="1.0"/>
              </DiffuseMaterial.Brush>
            </DiffuseMaterial>
            <SpecularMaterial SpecularPower="300.0">
              <SpecularMaterial.Brush>
                <SolidColorBrush Color="#FFFFFF" Opacity="1.0"/>
              </SpecularMaterial.Brush>
            </SpecularMaterial>
          </MaterialGroup>
        </GeometryModel3D.Material>
        <GeometryModel3D.BackMaterial>
          <MaterialGroup>
            <DiffuseMaterial>
              <DiffuseMaterial.Brush>
                <SolidColorBrush Color="#eaeaea" Opacity="1.0"/>
              </DiffuseMaterial.Brush>
            </DiffuseMaterial>
            <SpecularMaterial SpecularPower="300.0">
              <SpecularMaterial.Brush>
                <SolidColorBrush Color="#FFFFFF" Opacity="0.3"/>
              </SpecularMaterial.Brush>
            </SpecularMaterial>
          </MaterialGroup>
        </GeometryModel3D.BackMaterial>
        <GeometryModel3D.Geometry>
          <!--
                    <MeshGeometry3D
                        Positions="0 0 0  1 0 0  0 1 0  1 1 0  0 0 1  1 0 1  0 1 1  1 1 1"
                        TriangleIndices="2 3 1  2 1 0  7 1 3  7 5 1  6 5 7  6 4 5  6 2 0  2 0 4  2 7 3  2 6 7  0 1 5  0 5 4">
                    </MeshGeometry3D>
                    -->

          <MeshGeometry3D
              Positions=".4,.4,-.4 .4,-.4,-.4 -.4,-.4,-.4 -.4,.4,-.4 .4,.4,.4 -.4,.4,.4 -.4,-.4,.4 .4,-.4,.4 .4,.4,-.4 .4,.4,.4 .4,-.4,.4 .4,-.4,-.4 .4,-.4,-.4 .4,-.4,.4 -.4,-.4,.4 -.4,-.4,-.4 -.4,-.4,-.4 -.4,-.4,.4 -.4,.4,.4 -.4,.4,-.4 .4,.4,.4 .4,.4,-.4 -.4,.4,-.4 -.4,.4,.4"
              TriangleIndices="0 1 2 0 2 3 4 5 6 4 6 7 8 9 10 8 10 11 12 13 14 12 14 15 16 17 18 16 18 19 20 21 22 20 22 23">
          </MeshGeometry3D>
        </GeometryModel3D.Geometry>
      </GeometryModel3D>
    </Model3DGroup>
  </Model3DGroup>
</ResourceDictionary>